import {
  request
} from './request'

//三务公开 全部
export function swAll(type, size) {
  return request({
    method: "post",
    url: '/platform/sw/swKeList',
    data: {
      swType: type,
      ps: size
    }
  })
}
//三五公开 单个详情
export function swOne(id) {
  return request({
    method: "post",
    url: '/platform/sw/swOne',
    params: {
      id
    }
  })
}
//农村大数据人口相关数量
export function getVillageTop () {
  return request({
    method: "post",
    url: '/screen/data/people/getVillageTop',
  })
}
//本村集体经济增长情况
export function villageEconomic () {
  return request({
    method: "post",
    url: '/screen/data/statistics/villageEconomic',
  })
}
//危房改造
export function riskCount () {
  return request({
    method: "post",
    url: '/screen/data/house/riskCount',
  })
}
//土地概况
export function getLandGeneralSituation () {
  return request({
    method: "post",
    url: '/screen/data/land/getLandGeneralSituation',
  })
}

/*
 * 农村
 */
//获取农民大数据顶部与保险数据
export function PgetPeasantTop () {
  return request({
    method: "post",
    url: '/screen/data/people/getPeasantTop',
  })
}
//获取农民大数据左侧数据
export function PgetPeaPowerLeft () {
  return request({
    method: "post",
    url: '/screen/data/people/getPeaPowerLeft',
  })
}
//获取农民大数据右侧/底部数据
export function PgetPeasantRight () {
  return request({
    method: "post",
    url: '/screen/data/people/getPeasantRight',
  })
}


/*农业 */
//产业数据统计
export function agrDataIndusrty () {
  return request({
    method: "post",
    url: '/screen/data/statistics/agrDataIndusrty',
  })
}